package com.ones.kit.log.annotation;

import java.lang.annotation.*;

/**
 * 业务日志注解
 *
 * @author Clark
 * @version 2024-09-23
 */
@Inherited
@Documented
@Target({ElementType.METHOD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
public @interface OnesLog {

    /**
     * 服务名/模块名
     */
    String serviceName() default "";

    /**
     * 日志标题
     */
    String title() default "";
}
